<table>
    <tr>
        <td class="synth-mois">
            <div class="synth-wrapper">
                <div>
                    <table class="synth-table">
                        <tr>
                            <th width="20%"></th>
                            <th width="25%" class="lib-top inscoring" colspan="2">Jour</th>
                            <th width="30%" class="lib-top inscoring" colspan="2">Semaine</th>
                            <th width="25%" class="lib-top inscoring" colspan="2">Mois</th>
                        </tr> 
                        <tr>
                            <th width="20%"></th>
                            <th class="lib-top inscoring">Le plus haut</th>
                            <th class="lib-top inscoring">Le plus bas</th>
                            <th class="lib-top inscoring">Le plus haut</th>
                            <th class="lib-top inscoring">Le plus bas</th>
                            <th class="lib-top inscoring">Le plus haut</th>
                            <th class="lib-top inscoring">Le plus bas</th>
                        </tr> 
                        <tr class="rubTr ca">
                            <td width="20%" class="lib-left">CA TTC</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxCattcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minCattcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxCattcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minCattcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>  
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxCattcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minCattcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMCattc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td> 
                        </tr>
                        <tr class="rubTr ca">
                            <td width="20%" class="lib-left">CA HT</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxCahtDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minCahtDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxCahtWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minCahtWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxCahtMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minCahtMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMCaht, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="rubTr ie">
                            <td width="20%" class="lib-left">Transactions</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxNbtDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minNbtDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxNbtWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minNbtWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxNbtMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minNbtMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="rubTr ie">
                            <td width="20%" class="lib-left">Ticket Moyen</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxCattcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDCattc/$maxDNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minCattcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDCattc/$minDNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxCattcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWCattc/$maxWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minCattcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWCattc/$minWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxCattcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMCattc/$maxWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minCattcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMCattc/$minWNbt, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="rubTr ea">
                            <td width="20%" class="lib-left">Montant annulations</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxMacDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minMacDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxMacWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minMacWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxMacMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minMacMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMMac, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="rubTr ea">
                            <td width="20%" class="lib-left">Nombre annulations</td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $maxAcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($maxDAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="50%" class="lib-value-left"><?php echo $minAcDay; ?></td>
                                        <td width="50%" class="lib-value-right"><?php echo number_format($minDAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $maxAcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($maxWAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="60%" class="lib-value-left"><?php echo $minAcWeek; ?></td>
                                        <td width="40%" class="lib-value-right"><?php echo number_format($minWAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $maxAcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($maxMAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                            <td class="lib-value">
                                <table width="100%">
                                    <tr>
                                        <td width="40%" class="lib-value-left"><?php echo $minAcMonth; ?></td>
                                        <td width="60%" class="lib-value-right"><?php echo number_format($minMAc, 2, ',', ' '); ?></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </td>
    </tr>
</table>